using System;
using System.Collections;
using System.Windows.Forms;
using smartBrowser.GUI;
using System.Xml;
using System.IO;
using System.Text.RegularExpressions;
using smartBrowser.Task;
using smartBrowser.Properties;

namespace smartBrowser
{
    public static class Program
    {

        public static SmartBrowser BrowserWindow
        {
            get { return SmartBrowser.Instance; }
        }

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            SmartBrowser smartBrowser = SmartBrowser.Instance;
            new TaskManager(smartBrowser);

            Application.Run(smartBrowser);

            Settings.Default.Save();
        }
    }
}